arm: Put the CPU into a sleep state in the idle loop
authorTim Deegan <tim@xen.org>
Tue, 13 Mar 2012 15:11:00 +0000 (15:11 +0000)
committerTim Deegan <tim@xen.org>
Tue, 13 Mar 2012 15:11:00 +0000 (15:11 +0000)
commitd6df6607425f170ac601ba3559ea253fed4f0511
treec9a3b959341fed4292d5c61d841589cd1d61b7c4
parente1147447b9257629e72aafed6e6f7f0353d15e65
arm: Put the CPU into a sleep state in the idle loop

The ARM doesn't actually say that the WFI instruction will return
immediately if CPSR.I is clear and an instruction is pending, but
this seems to match up with how linux uses it.

Signed-off-by: Tim Deegan <tim@xen.org>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain.c